/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package xmarti.vacaxm.beans.sequence;

import java.util.Date;

/**
 *
 * @author xmarti
 */
public class NoticeState implements java.io.Serializable{
    private int  id;
    private StateSequence state; 
    private Date dateNotice;    
    private String notice;
    
    public NoticeState(){
        
    }
    public NoticeState(StateSequence state,Date dateNotice, String notice) {
        this.state=state; 
        this.dateNotice = dateNotice;
        this.notice = notice;
    }
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public StateSequence getState() {
        return state;
    }

    public void setState(StateSequence state) {
        this.state = state;
    }
    

    public Date getDateNotice() {
        return dateNotice;
    }

    public void setDateNotice(Date dateNotice) {
        this.dateNotice = dateNotice;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }
    @Override
    public String toString(){
        return this.notice;
    }
}
